package cn.stylefeng.guns.modular.agv.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.agv.entity.HikAgvRoadWay;
import cn.stylefeng.guns.modular.agv.entity.RoadWayListRsVo;
import cn.stylefeng.guns.modular.agv.model.params.HikAgvRoadWayParam;
import cn.stylefeng.guns.modular.agv.model.params.RoadWayListParam;
import cn.stylefeng.guns.modular.agv.model.result.HikAgvRoadWayResult;
import cn.stylefeng.guns.modular.agv.model.result.RoadWayRunCntVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 海康小车巷道情况 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-06-06
 */
public interface HikAgvRoadWayService extends IService<HikAgvRoadWay> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
    void add(HikAgvRoadWayParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
    void delete(HikAgvRoadWayParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
    void update(HikAgvRoadWayParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
    HikAgvRoadWayResult findBySpec(HikAgvRoadWayParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
    List<HikAgvRoadWayResult> findListBySpec(HikAgvRoadWayParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-06
     */
     LayuiPageInfo findPageBySpec(HikAgvRoadWayParam param, String condition);



    List<Map<String,RoadWayListRsVo>> RoadWayList(RoadWayListParam param);


    List<Map<String,RoadWayListRsVo>> tuskRoadWayList(RoadWayListParam param);

    List<RoadWayListRsVo> reestRoadWayList(RoadWayListParam param);

}
